package com.raincat.tools.multimediapickertools.utils;

import java.io.Serializable;

/**
 * <pre>
 *     author : RainCat
 *     org    : Shenzhen JingYu Network Technology Co., Ltd.
 *     e-mail : nining377@gmail.com
 *     time   : 2019/02/22
 *     desc   : 多媒体封装
 *     version: 1.0
 * </pre>
 */

public class MultiMediaItem implements Serializable {
    //相机
    public static final String CAMERA = "CAMERA";
    //文件新建的时间
    public long addTime;
    //ID
    public String id = "";
    //文件类型
    public String mimeType = "";
    //宽度
    public int outHeight = -1;
    //高度
    public int outWidth = -1;
    //路径
    public String path = "";
    //大小
    public float size = 0.0F;
    //后缀名
    public String suffix = "";
    //被选中时的索引
    public int index = 0;

    //image特有
    public String zoomPath = "";
    //video特有
    public String duration;//时分秒
    public long durationStamp;//时间戳，毫秒
}
